package com.model;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * Created by guin_guo on 2015/10/30.
 */
public class Curriculum implements Serializable {
    private int id;
    //teacher account
    private String teacher;
    //student account
    private String student;
    private String name;
    private Course[][] courses;

    public Curriculum() {
        this.courses = new Course[6][7];
    }

    public Curriculum(String name, String teacher, String student) {
        this.name    = name;
        this.teacher = teacher;
        this.student = student;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getTeacher() {
        return teacher;
    }

    public void setTeacher(String teacher) {
        this.teacher = teacher;
    }

    public String getStudent() {
        return student;
    }

    public void setStudent(String student) {
        this.student = student;
    }

    public Course[][] getCourses() {
        return courses;
    }

    public void setCourses(Course[][] courses) {
        this.courses = courses;
    }

    @Override
    public String toString() {
        return "Curriculum{" +
                "id=" + id +
                ",name=" + name +
                ", teacher='" + teacher + '\'' +
                ", student='" + student + '\'' +
                ", courses='" + courses + '\'' +
                '}';
    }
}

